![]() |
PBGetForeignPrivsSync |
||||
Header: | Files.h | Carbon status: | Supported | |
Determines the native access-control information for a file or directory stored on a volume managed by a foreign file system.
OSErr PBGetForeignPrivsSync ( HParmBlkPtr paramBlock );
A pointer to a foreignPrivParam variant of the HFS parameter block.
A result code.
The relevant fields of the parameter block are:
On input, a pointer to a completion function.
On output, the result code of the function.
On input, a pointer to a file or directory name
On output, a volume specification.
On output, a pointer to the privilege information buffer.
On input, the size allocated for the buffer.
On output, the amount used in buffer.
On input, the parent directory ID.
On output, information specific to the privilege model.
On output, information specific to the privilege model.
On output, information specific to the privilege model.
On output, information specific to the privilege model.
The PBGetForeignPrivsSync function allows your application or shell program to communicate with a foreign file system about its native access-control system. This function retrieves access permissions for a file or directory on a volume managed by a file system that uses a privilege model different from the AFP model.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)